.orders-container {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    min-height: 600px;
    background-color: #f9f4ff; /* 淡紫色背景 */
}

.profile-sidebar {
    width: 250px;
    background-color: #f3e9ff; /* 稍深的淡紫色 */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px;
    margin-right: 20px;
    border: 1px solid #e6d5ff; /* 淡紫色边框 */
}

.orders-content {
    flex: 1;
    background-color: #fdfaff; /* 非常淡的紫色背景 */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 30px;
    border: 1px solid #e6d5ff;
}

.orders-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #5a3d7a; /* 深紫色标题 */
}

.order-tabs {
    display: flex;
    border-bottom: 1px solid #e6d5ff; /* 淡紫色分隔线 */
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #7a5a9a; /* 中等紫色 */
    margin-right: 10px;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #9c6ade; /* 紫色悬停 */
}

.tab-btn.active {
    color: #9c6ade; /* 紫色选中 */
    border-bottom-color: #9c6ade;
    font-weight: bold;
}

.orders-list {
    margin-top: 20px;
}

.order-card {
    border: 1px solid #e6d5ff; /* 淡紫色边框 */
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: white;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f2ff; /* 淡紫色背景 */
    border-bottom: 1px solid #e6d5ff;
}

.order-id {
    font-size: 14px;
    color: #5a3d7a; /* 深紫色文字 */
}

.order-date {
    font-size: 14px;
    color: #7a5a9a; /* 中等紫色 */
}

.order-status {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background-color: #fff2ff;
    color: #d18aff;
}

.status-shipped {
    background-color: #f0e5ff;
    color: #9c6ade;
}

.status-delivered {
    background-color: #e8f5ff;
    color: #6a8cde;
}

.status-completed {
    background-color: #f0ffe8;
    color: #6ade8a;
}

.status-canceled {
    background-color: #ffe8e8;
    color: #de6a6a;
}

.order-body {
    padding: 15px;
}

.order-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e6d5ff; /* 淡紫色虚线分隔 */
}

.order-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-item-img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border: 1px solid #f0e5ff; /* 淡紫色边框 */
    border-radius: 3px;
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 16px;
    color: #5a3d7a; /* 深紫色文字 */
    margin-bottom: 5px;
}

.order-item-price {
    font-size: 14px;
    color: #9c6ade; /* 紫色价格 */
    margin-bottom: 5px;
}

.order-item-quantity {
    font-size: 14px;
    color: #7a5a9a; /* 中等紫色 */
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #e6d5ff; /* 淡紫色分隔线 */
    background-color: #f8f2ff; /* 淡紫色背景 */
}

.order-total {
    font-size: 16px;
    color: #5a3d7a; /* 深紫色文字 */
}

.order-total span {
    color: #9c6ade; /* 紫色强调 */
    font-weight: bold;
}

.order-actions button {
    padding: 8px 15px;
    margin-left: 10px;
    border: 1px solid #e6d5ff;
    background: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    color: #7a5a9a; /* 中等紫色 */
    transition: all 0.3s;
}

.order-actions .btn-primary {
    background-color: #9c6ade; /* 紫色按钮 */
    color: white;
    border-color: #9c6ade;
}

.order-actions .btn-primary:hover {
    background-color: #8a5acd; /* 深一点的紫色 */
}

.empty-orders {
    text-align: center;
    padding: 50px;
    color: #7a5a9a; /* 中等紫色 */
    font-size: 16px;
    background-color: #f8f2ff; /* 淡紫色背景 */
    border-radius: 5px;
}